package com.javaclimb.houserent.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.javaclimb.houserent.common.base.BaseEntity;
import lombok.Data;

import java.util.Date;

//房子信息
@Data
@TableName("t_house")
public class House extends BaseEntity {

    //房东ID
    private Long userId;

    //创建时间
    private Date creatTime;

    //出租类型
    private String rentType;

    //房屋名称
    private String title;

    //详细描述
    private String content;

    //城市名称
    private String city;

    //详细地址
    private String address;

    //缩略图
    private String thumbnailUrl;

    //轮播图Url
    private String sideUrl;

    //月度租金
    private Integer monthRent;

    //状态
    private Integer status;

    //房产证编号
    private String cetificateNo;

    //卫生间数量
    private Integer toiletNum;

    //厨房数量
    private Integer kichenNum;

    //客厅数量
    private Integer livingRoomNum;

    //卧室数量
    private Integer bedRoomNum;

    //是否有空调
    private String hasAirConditioner;

    //面积
    private Double area;

    //所在楼层
    private String floor;

    //最大层数
    private String maxFloor;

    //电梯?
    private String hasElevator;

    //建成年份
    private String buildYear;

    //朝向
    private String direction;

    //上次开始入住时间
    private Date lastOrderStartTime;

    //上次结束入住时间
    private Date lastOrderEndTime;

    //经纬度
    private String longitudeLatitude;

    //联系人姓名
    private String contactName;

    //联系人手机
    private String contactPhone;
}
